<?php
class indexMod extends commonMod{
	public function index(){
		$this->assign("title", "首页");
		$this->assign("msg", "欢迎使用cp2.0");
		$this->display();
	}
	
	public function show(){
		$info = array('title'=>'文章标题', 'content'=>'文章内容');
		$this->assign("title", "显示页面");
		$this->assign("info", $info );
		$this->display();
	}
}